package com.lzc.jobrecomendbackend.model.recommendation;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.HashMap;

/**
 * 页面智能建议响应
 */
public class PageAdviceVO {
    /**
     * 页面类型
     */
    private String pageType;
    
    /**
     * 总体建议内容
     */
    private String overallAdvice;
    
    /**
     * 具体建议点列表
     */
    private List<AdvicePoint> advicePoints = new ArrayList<>();
    
    /**
     * 附加信息，用于存储不同页面类型的特定数据
     */
    private Map<String, Object> extraInfo = new HashMap<>();

    public String getPageType() {
        return pageType;
    }

    public void setPageType(String pageType) {
        this.pageType = pageType;
    }

    public String getOverallAdvice() {
        return overallAdvice;
    }

    public void setOverallAdvice(String overallAdvice) {
        this.overallAdvice = overallAdvice;
    }

    public List<AdvicePoint> getAdvicePoints() {
        return advicePoints;
    }

    public void setAdvicePoints(List<AdvicePoint> advicePoints) {
        this.advicePoints = advicePoints;
    }

    public Map<String, Object> getExtraInfo() {
        return extraInfo;
    }

    public void setExtraInfo(Map<String, Object> extraInfo) {
        this.extraInfo = extraInfo;
    }

    /**
     * 建议点
     */
    public static class AdvicePoint {
        /**
         * 建议标题
         */
        private String title;
        
        /**
         * 建议内容
         */
        private String content;

        public AdvicePoint() {
        }

        public AdvicePoint(String title, String content) {
            this.title = title;
            this.content = content;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }
    }
} 